package com.suray.wcs.service.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author rbj
 */
@Data
public class BaseModel {
    /**
     * 当前页
     */
    @TableField(exist = false)
    private Integer curPage;
    /**
     * 页面数量
     */
    @TableField(exist = false)
    private Integer pageSize;

    /**
     * 总页面数
     */
    @TableField(exist = false)
    private Integer pageTotal;

    /**
     * 总条数
     */
    @TableField(exist = false)
    private Integer rowTotal;

    /**
     * 插入开始日期
     */
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startInsertDate;
    /**
     * 插入结束日期
     */
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endInsertDate;
    /**
     * 执行开始日期
     */
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startExcuteDate;
    /**
     * 执行结束日期
     */
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endExcuteDate;

    /**
     * 登录态
     */
    @TableField(exist = false)
    private String loginStatus;

}
